package com.logan.jokebuddy;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Splash extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		//when the activity is called
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash);
	}

	public void goToMain(View view) {
		//respond to button
		try {
			startActivity(new Intent("com.logan.jokebuddy.GOTOMAIN"));
		}
		finally {
			finish();
		}
	}
}